/**
 * Created by Administrator on 2018/4/26/026.
 */
var BackgroundLayer = cc.Layer.extend({
    ctor:function(){
        this._super();
        this.loadBackground();
        return true;//?
    },

    loadBackground:function(){
        var bg = new cc.Sprite(res.mm_front_bg_png);
        this.addChild(bg);
        bg.setPosition(cc.winSize.width/2,cc.winSize.height/2);
    },
});